package com.atguigu.spring.bean;

/**
 * @author 孙志鹏
 * @create 2021-06-09 14:46
 */
public class Dog {
    private String name;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    @Override
    public String toString() {
        return "Dog{" +
                "name='" + name + '\'' +
                '}';
    }
}
